Re: [NTG-context] About \textrule [ ]

2019-10-01 Thread Fabrice Couvreur
ried, > inbetween=, > > Best wishes, > Taco > > > Thank you. > > Fabrice > > > > \setuptextrules[width=0.5cm] > > > > \define[1]\ProprieteHeadcommand > > {\textrule[top]{#1}} > > > > \defineenumeration > > [propriete]

Re: [NTG-context] About \textrule [ ]

2019-10-01 Thread Taco Hoekwater
> On 1 Oct 2019, at 11:09, Fabrice Couvreur wrote: > > Hello, > The top line is in the text, how to fix this problem ? % alternative=serried, inbetween=, Best wishes, Taco > Thank you. > Fabrice > > \setuptextrules[width=0.5cm] > > \define[1]\Propriete

Re: [NTG-context] About \textrule [ ]

2019-10-01 Thread Otared Kavian
Hi Fabrice, Is this what you are looking for? Best regards: OK \setuptextrules[width=.5cm] \define[1]\ProprieteHeadcommand {\textrule[top]{Propriété}} \defineenumeration[propriete] [headstyle={bold}, style=italic, number=no, headcommand

[NTG-context] About \textrule [ ]

2019-10-01 Thread Fabrice Couvreur
Hello, The top line is in the text, how to fix this problem ? Thank you. Fabrice \setuptextrules[width=0.5cm] \define[1]\ProprieteHeadcommand {\textrule[top]{#1}} \defineenumeration [propriete] [text=Propriété, title=yes, headstyle={bold}, alternative=serried, style=italic

[NTG-context] Numbering properties in a chapter

2018-07-23 Thread Fabrice Couvreur
Hello, I would like the numbering of the properties to be like this : First chapter Property 1.1 Property 1.2 Second chapter Property 2.1 Property 2.2 I thought it was enough to use the key way = bychapter Thanks Fabrice \define[1]\ProprieteHeadcommand {\textrule[top]{#1

[NTG-context] \textrule location

2018-05-22 Thread Hans van der Meer
\textrule{TEXT} puts a rule with the TEXT to the left, like so: --TEXT——[endofline] I imagined that \textrule[location=..] could be used to vary the position of TEXT to middle or to the right (as I would like to have it). But I could not get this working, the only effect

Re: [NTG-context] Horizontal line after text in an environment

2018-04-26 Thread Fabrice Couvreur
e >> >> >> \setuptolerance[stretch,verytolerant] >> \useMPlibrary[dum] >> >> >> \define[1]\ProprieteHeadcommand >>{\textrule[top]{#1}} >> >> \defineenumeration >>[propriete] >>[text=Propriété, >> title=yes, >>

Re: [NTG-context] Horizontal line after text in an environment

2018-04-25 Thread Hans Hagen
. \flushsidefloats Thanks Fabrice \setuptolerance[stretch,verytolerant] \useMPlibrary[dum] \define[1]\ProprieteHeadcommand   {\textrule[top]{#1}} \defineenumeration   [propriete]   [text=Propriété,    title=yes,    headstyle={bold},    style=italic,    headcommand=\ProprieteHeadcommand

[NTG-context] Horizontal line after text in an environment

2018-04-25 Thread Fabrice Couvreur
] \useMPlibrary[dum] \define[1]\ProprieteHeadcommand {\textrule[top]{#1}} \defineenumeration [propriete] [text=Propriété, title=yes, headstyle={bold}, style=italic, headcommand=\ProprieteHeadcommand, numbercommand=\groupedcommand{}{\nbsp}, after=\textrule] \starttext

Re: [NTG-context] referencing the customized enumeration with framed title

2018-01-12 Thread Jeong Dal
before=\startFunnyText, after=\stopFunnyText] Definition style \definenumber[DefNumber][way=bychapter,sectionumber=yes] \setuptextrules[rulecolor=dBlue] \define\DefCommand{\incrementnumber[DefNumber] \textrule[top]{\translate[en=Definition, kr=정 의] \getnumber

Re: [NTG-context] referencing the customized enumeration with framed title

2018-01-12 Thread Hans Hagen
ue] \define\DefCommand{\incrementnumber[DefNumber] \textrule[top]{\translate[en=Definition, kr=정 의] \getnumber[DefNumber]} } \defineenumeration[Definition] [alternative=hanging, width=fit, alternative=serried, text={}, number=no, before=

[NTG-context] referencing the customized enumeration with framed title

2018-01-11 Thread Jeong Dal
pFunnyText] Definition style \definenumber[DefNumber][way=bychapter,sectionumber=yes] \setuptextrules[rulecolor=dBlue] \define\DefCommand{\incrementnumber[DefNumber] \textrule[top]{\translate[en=Definition, kr=정 의] \getnumber[DefNumber]} } \defineenumeration[

[NTG-context] loading and executing xml-buffer

2016-10-12 Thread Meer, Hans van der
1}\blank stop document "\xmldocument"\blank \writestatus{TEST}{stop document} \stopxmlsetups \starttext \textrule{Demo of buffer: demo.xml} ==\crlf \xmlprocessbuffer{demo}{demo-xml}{} ==\crlf \stoptex

Re: [NTG-context] Setting \textrules

2016-07-20 Thread Fabrice Couvreur
> >> Is this the best way when I use \setuptextrules[width=-1ex] ? >> >> You can set the width and distance values to 0pt and put a space after >> the counter. >> >> begin example >> \setupbodyfont[pagella,11pt] >> >> \define[1]\Propriet

Re: [NTG-context] Setting \textrules

2016-07-14 Thread Fabrice Couvreur
using the > environment {\it}. > > Use the enumeration environment. > > Is this the best way when I use \setuptextrules[width=-1ex] ? > > You can set the width and distance values to 0pt and put a space after the > counter. > > begin example > \setupbodyfont[pagella,11p

Re: [NTG-context] Setting \textrules

2016-07-13 Thread Wolfgang Schuster
width and distance values to 0pt and put a space after the counter. begin example \setupbodyfont[pagella,11pt] \define[1]\ProprieteHeadcommand {\textrule[top]{#1}} \defineenumeration [propriete] [text=Propriété , style=italic, headcommand=\ProprieteHeadcommand, numberc

[NTG-context] Setting \textrules

2016-07-12 Thread Fabrice Couvreur
[width=-1ex] \starttext \textrule[top]{\Propriété} {\it Soit \math{q} un réel \math{\neq 1}, alors pour tout entier naturel \math{n\geqslant 1} on a : \startformula S=1+q+q^2+\dots+q^n=\frac{1-q^{n+1}}{1-q}. \stopformula} \textrule \textrule[top]{\Propriété} Soit \math{q} un réel \math

Re: [NTG-context] xml input

2016-04-21 Thread Mica Semrick
tes}{notes:*} >\stopxmlsetups >\xmlregisterdocumentsetup{notes}{notes:setups} >\startxmlsetups notes:notes >\xmlinclude{#1}{include}{file} >\xmlshow{#1} >===> number of = \xmlcount{#1}{note} >\stopxmlsetups >\starttext >Ok with \type{\xmlprocessbuffer{notes}{notes-xm

Re: [NTG-context] xml input

2016-04-21 Thread Meer, Hans van der
ank Not ok with \type{\xmlprocessbuffer{notes}{notes-xml}{}}\crlf \xmlprocessbuffer{notes}{notes-xml}{} \textrule{end of test \#1} \stoptext \stophiding \starthiding % Test #2 \startxmlsetups notes:setups \xmlsetsetup{#1}{*}{-} \xmlsetsetup{#1}{takenotes}{notes:*} \stopxmlsetups \xmlregisterdocumentsetu

Re: [NTG-context] Move textrule closer to head

2016-04-13 Thread Tom Harrop
On 13/04/16 18:47, Pablo Rodriguez wrote: Hi Tom, how about another rule? (From http://wiki.contextgarden.net/Titles#Titling_Style.) \setuphead[subsubsection] [after=\hrule\blank] I hope it helps, Pablo Ahh, it's perfect. I missed that page of the wiki! Thank you.

Re: [NTG-context] Move textrule closer to head

2016-04-13 Thread Pablo Rodriguez
On 04/13/2016 06:10 PM, Tom Harrop wrote: > Hello, > > I'm a ConTeXt beginner. I'm working on a document where I would like a > textrule under my subsubsection headings. If I use after=\textrule, the > placement of the textrule is too far from the heading, and I haven't > f

[NTG-context] Move textrule closer to head

2016-04-13 Thread Tom Harrop
Hello, I'm a ConTeXt beginner. I'm working on a document where I would like a textrule under my subsubsection headings. If I use after=\textrule, the placement of the textrule is too far from the heading, and I haven't found a way to move it closer to the heading either with \setuphead

Re: [NTG-context] problem between textrule and setupindenting ?

2014-05-06 Thread Hans Hagen
On 5/3/2014 9:34 AM, Bertrand Masson wrote: Hello, In the following code, the second ruleis indented. How to remove this indentation ? %code% \setuppapersize[A5] \setupindenting[small,yes] \setuptextrules[inbetween=\noindentation] \starttext \starttextrule{introduction} Once upon a time

[NTG-context] problem between textrule and setupindenting ?

2014-05-03 Thread Bertrand Masson
Hello, In the following code, the second ruleis indented. How to remove this indentation ? %code% \setuppapersize[A5] \setupindenting[small,yes] \setuptextrules[inbetween=\noindentation] \starttext \starttextrule{introduction} Once upon a time \unknown \stoptextrule \stoptext %code% Many

Re: [NTG-context] structure Mk II vs IV

2014-02-25 Thread Andrea Valle
=on]\crlf},after={\stopframedtext\blank[4cm]}] but these two raises the error: \setuphead[section][style=\ss\tfb, before={\startframedtext[frame=off]\color[cirmaGrey]}, after={\color[cirmaBlue]\textrule \color[fontColor]\stopframedtext}] \setuphead[subsection][style=\ss\tfb,before={\startframedtext

Re: [NTG-context] structure Mk II vs IV

2014-02-25 Thread Wolfgang Schuster
=0.25cm, rulethickness=0.05cm, frame=off, topframe=on, bottomframe=on]\crlf},after={\stopframedtext\blank[4cm]}] but these two raises the error: \setuphead[section][style=\ss\tfb, before={\startframedtext[frame=off]\color[cirmaGrey]}, after={\color[cirmaBlue]\textrule \color[fontColor

Re: [NTG-context] New header

2014-01-20 Thread Hans Hagen
} \makeatother I want to gradually move to ConTeXt and I tried to create the same header. But I do not yet know all the commands to do with ConTeXt. \setuptextrules [style=\it,location=top] \define[6]\MyHeader{% \textrule[top]{#1\space--\space\date[d=#2,m=#3,y=#4

[NTG-context] New header

2014-01-18 Thread Fabrice Couvreur
\bfseries\filcenter} \makeatother I want to gradually move to ConTeXt and I tried to create the same header. But I do not yet know all the commands to do with ConTeXt. \setuptextrules [style=\it,location=top] \define[6]\MyHeader{% \textrule[top]{#1\space--\space\date[d=#2,m=#3,y=#4

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Otared Kavian
[MyExoNumber][way=bysection,sectionumber=yes] \setuptextrules[rulecolor=darkred] \define\ExoCommand{\incrementnumber[MyExoNumber] \textrule[top]{Exercise \getnumber[MyExoNumber]} \startbackground[frame=off,leftframe=on,backgroundcolor=white, framecolor=darkred

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Jaroslav Hajtmar
\definenumber[MyExoNumber][way=bysection,sectionumber=yes] \setuptextrules[rulecolor=darkred] \define\ExoCommand{\incrementnumber[MyExoNumber] \textrule[top]{Exercise \getnumber[MyExoNumber]} \startbackground[frame=off,leftframe=on,backgroundcolor=white, framecolor=darkred

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Otared Kavian
=bysection,sectionumber=yes] \setuptextrules[rulecolor=darkred] \define\ExoCommand{\incrementnumber[MyExoNumber] \textrule[top]{Exercise \getnumber[MyExoNumber]} \startbackground[frame=off,leftframe=on,backgroundcolor=white, framecolor=darkred]} \defineenumeration[exo

Re: [NTG-context] Help with Long Titles

2012-10-21 Thread Malte Stien
is minimal example (or something very close to that): % The title page \startsetups titlepage \startstandardmakeup[style=sans] \blank[50mm] \rightaligned{\bfd\getvariable{titlepage}{project}} \textrule \rightaligned{\tfc\color[darkgray]{\getvariable{titlepage}{title

Re: [NTG-context] Help with Long Titles

2012-10-19 Thread Otared Kavian
titlepage \startstandardmakeup[style=sans] \blank[50mm] \rightaligned{\bfd\getvariable{titlepage}{project}} \textrule \rightaligned{\tfc\color[darkgray]{\getvariable{titlepage}{title}}} \blank[170mm] \starttabulate[|plf{\tfa}|prf{\tfa}|] \NC\tfa

Re: [NTG-context] Help with Long Titles

2012-10-19 Thread Wolfgang Schuster
}} \textrule \rightaligned{\tfc\color[darkgray]{\getvariable{titlepage}{title}}} Replace the line above with this block: \startframed[frame=off,align=normal,offset=none,foregroundstyle=\tfc,foregroundcolor=darkgray] \getvariable{titlepage}{title} \stopframed Wolfgang

[NTG-context] Help with Long Titles

2012-10-18 Thread Malte Stien
is minimal example (or something very close to that): % The title page \startsetups titlepage \startstandardmakeup[style=sans] \blank[50mm] \rightaligned{\bfd\getvariable{titlepage}{project}} \textrule \rightaligned{\tfc\color[darkgray]{\getvariable{titlepage

Re: [NTG-context] MKII MKIV difference between \textrule

2012-09-16 Thread Hans Hagen
On 14-9-2012 13:26, Wolfgang Schuster wrote: Am 14.09.2012 um 00:08 schrieb Alessandro Perucchi alessan...@perucchi.org: Hello, In my experimentation, I've found that in mkii and mkiv the behavior of \textrule and \setuptextrule are different... What I did was quite simple: \textrule

Re: [NTG-context] MKII MKIV difference between \textrule

2012-09-15 Thread Alessandro Perucchi
and I still get the error of spacing before the second \textrule. have you regenerated the format ? Well no I didn't know!!! and after searching how to do it, I found and yes it works :-) Thanks!! Sincerely yours

Re: [NTG-context] MKII MKIV difference between \textrule

2012-09-15 Thread Wolfgang Schuster
it doesn't work. So either the doc is wrong, the command is wrong or I'm doing something wrong :-D Remove [top] from \starttextrule. All possible combinations are: \starttext blah blah blah \textrule{Top} blah blah blah \textrule blah blah blah \textrule[top]{Top} blah blah blah \textrule blah blah

Re: [NTG-context] MKII MKIV difference between \textrule

2012-09-15 Thread Alessandro Perucchi
On 15 sept. 2012, at 09:28, Wolfgang Schuster wolfgang.schus...@gmail.com wrote: Remove [top] from \starttextrule. All possible combinations are: (...) Hello Wolfgang, Thanks, now I understand how this command works. So probably it would be good to correct the documentation accordingly (

Re: [NTG-context] MKII MKIV difference between \textrule

2012-09-15 Thread Sietse Brouwer
would be more than happy to do it. Yes, anybody can edit the wiki once the make an account. You're more than welcome to! Here is the page on textrule: http://wiki.contextgarden.net/Command/textrule Cheers, Sietse

Re: [NTG-context] MKII MKIV difference between \textrule

2012-09-14 Thread Wolfgang Schuster
Am 14.09.2012 um 00:08 schrieb Alessandro Perucchi alessan...@perucchi.org: Hello, In my experimentation, I've found that in mkii and mkiv the behavior of \textrule and \setuptextrule are different... What I did was quite simple: \textrule{Testing head} blah blah blah \textrule

Re: [NTG-context] MKII MKIV difference between \textrule

2012-09-14 Thread Alessandro Perucchi
On 14 Sep 2012, at 13:26, Wolfgang Schuster wolfgang.schus...@gmail.com wrote: Am 14.09.2012 um 00:08 schrieb Alessandro Perucchi alessan...@perucchi.org: Hello, In my experimentation, I've found that in mkii and mkiv the behavior of \textrule and \setuptextrule are different

Re: [NTG-context] MKII MKIV difference between \textrule

2012-09-14 Thread luigi scarso
found that in mkii and mkiv the behavior of \textrule and \setuptextrule are different... What I did was quite simple: \textrule{Testing head} blah blah blah \textrule in mkii the text in well centered between the lines. But in mkiv the bottom line is too near the text, and I need

[NTG-context] MKII MKIV difference between \textrule

2012-09-13 Thread Alessandro Perucchi
Hello, In my experimentation, I've found that in mkii and mkiv the behavior of \textrule and \setuptextrule are different... What I did was quite simple: \textrule{Testing head} blah blah blah \textrule in mkii the text in well centered between the lines. But in mkiv the bottom line is too

Re: [NTG-context] Strange errors on using setupheader

2012-03-31 Thread Malte Stien
to a minimal example: % Select A4 as the paper size \setuppapersize[A4] % A macro for the title page \def\titlepage[#1][#2][#3][#4]{ \startstandardmakeup \blank[50mm] \rightaligned{\ss\tfd\bf\nohyphens{#1}} \blank[2mm]\textrule[bottom] \rightaligned{\ss{\tfc{\color[darkgray] {#2 \blank[170mm] \ss

Re: [NTG-context] Strange errors on using setupheader

2012-03-31 Thread Wolfgang Schuster
page is \setvariables: \startsetups titlepage \startstandardmakeup[style=sans] \blank[50mm] \rightaligned{\bfd\getvariable{titlepage}{company}} \textrule \rightaligned{\tfc\color[darkgray]{\getvariable{titlepage}{title}}} \blank[170mm] \starttabulate[|plf{\tfa}|prf{\tfa

Re: [NTG-context] \setuphead problem

2012-03-03 Thread Wolfgang Schuster
}] \definehead[BookTitle][title] \setuphead[BookTitle][before={\noindent\textrule},style=rm] \setuphead[BookTitle][header=high] \setupheadertexts[text] [\cap{A.\ U.\ Thor

Re: [NTG-context] \setuphead problem

2012-03-03 Thread Alan Bowen
[alternative=doublesided] \setuppagenumbering[location=,] \setuphead[title][page={header,yes}] \definehead[BookTitle][title] \setuphead[BookTitle][before={\noindent\textrule},style=rm] \setuphead[BookTitle][header=high] \setupheadertexts[text] [\cap{A.\ U.\ Thor}] [\pagenumber

Re: [NTG-context] \setuphead problem

2012-03-02 Thread Alan Bowen
][before={\noindent\textrule},style=rm] \setuphead[BookTitle][header=high] \setupheadertexts[text] [\cap{A.\ U.\ Thor}] [\pagenumber] [\pagenumber] [\it{The Journal}] \starttext \dorecurse{6}{\input knuth} \page[makeup] \BookTitle{{\em An Indubitably Important Book} by A.\ U.\ Thor

[NTG-context] \startitemize[columns] broken with backgrounds?

2012-01-22 Thread Otared Kavian
=darkred] \define\ExoCommand{\incrementnumber[MyExoNumber] \textrule[top]{Exercise \getnumber[MyExoNumber]} \startbackground[frame=off,leftframe=on, framecolor=darkred]} \defineenumeration[exo] [location=hanging, width=fit, text

Re: [NTG-context] Resetting references or local references?

2011-11-28 Thread Otared Kavian
[annotation] % Wolfgang's module \define[2]\ExoSetup {\resetnumber[formula] \setupframedtext[ width=\textwidth, frame=off, leftframe=on] \textrule{#1}% \startframedtext #2% \stopframedtext

Re: [NTG-context] Resetting references or local references?

2011-11-28 Thread Wolfgang Schuster
}}{\setupreferencing[prefix=\annotationparameter{prefix}]}% \doifsomething{\annotationparameter{prefix}}{\setupreferenceprefix[\annotationparameter{prefix}]}% \doifsomething{\annotationparameter{prefix}}{\setupformulas[referenceprefix=\annotationparameter{prefix}]}% \resetnumber[formula] \textrule{#1

Re: [NTG-context] math signs in itemize

2011-09-25 Thread R. Ermers
=yes,align={normal,hyphenated}] \setupinteraction[style=] \define[2]\QuotationCommand { \setupindenting[no] \switchtobodyfont[arial,10pt] \textrule{#1}\blank \vfil\nobreak\penalty1\endgraf \startcolumns#2\stopcolumns \hspace \nobreak\penalty1000 \textrule } \definetypeface[braqqadocio][ss

Re: [NTG-context] theorem environment: Is *enumeration* or the `annotation` module recommended?

2011-07-24 Thread Paul Menzel
[example] [ command=\textrule, after=\textrule, inbetween={\blank[nowhite]}] \setupenumerations [remark] [style=italic] […] My second question is, what is the recommended way to define theorems? The Wiki [1] says `\setupenumarations` as you did, but if I am

Re: [NTG-context] theorem environment

2011-07-13 Thread Wolfgang Schuster
] \defineenumeration[remark] [text=Remark] \setupenumerations [theorem] [ before={\startframedtext[frame=off,topframe=on,bottomframe=on,width=broad,offset=.5ex]}, after=\stopframedtext, inbetween={\blank[small]}] \setupenumerations [example] [ command=\textrule, after

[NTG-context] textrule customization

2011-07-08 Thread Hans van der Meer
The \texrule is typeset as: --- _TEXT_ - this I would like to change to: - _TEXT_ --- \setuptextrules has location=left|inmargin but regrettably not location=right or location=middle (or center) (neither in the wiki nor by experiment).

[NTG-context] Annotation and background color

2011-05-07 Thread Otared Kavian
headcolor=darkred, or textcolor=darkgray, for instance). Also I didn't get the difference between textcolor=darkgray and color=darkgray: are they the same? The example I was testing is below. Best regards: OK \usemodule[annotation] \define[2]\MyQuotationCommand {\textrule{#1}#2\textrule

Re: [NTG-context] Annotation and background color

2011-05-07 Thread Wolfgang Schuster
,backgroundcolor=gray] \startbackground \textrule{#1}#2\textrule \stopbackground} or \define[2]\MyQuotationCommand {\setupbackground[background=color,backgroundcolor=gray] \textrule{#1}% \startbackground #2% \stopbackground

Re: [NTG-context] Annotation and background color

2011-05-07 Thread Otared Kavian
/environments which have a background, e.g. framed, background or textbaxkground. \define[2]\MyQuotationCommand {\setupbackground[background=color,backgroundcolor=gray] \startbackground \textrule{#1}#2\textrule \stopbackground} or \define[2]\MyQuotationCommand

[NTG-context] Title in textrule

2011-04-12 Thread Flavien Lambert
Dear all, is there a way to change the style and size of the font used to print Instruments in the following example ? I would like something like \bfb\ss. \textrule[top]{Instruments} Some artists mention the instruments that they use during the production of their \kap{CD}. In Peter Gabriel’s

Re: [NTG-context] Title in textrule

2011-04-12 Thread Aditya Mahajan
On Tue, 12 Apr 2011, Flavien Lambert wrote: Dear all, is there a way to change the style and size of the font used to print Instruments in the following example ? I would like something like \bfb\ss. \textrule[top]{Instruments} Some artists mention the instruments that they use during

Re: [NTG-context] Title in textrule

2011-04-12 Thread Flavien Lambert
Thanks! 2011/4/12 Aditya Mahajan adit...@umich.edu On Tue, 12 Apr 2011, Flavien Lambert wrote: Dear all, is there a way to change the style and size of the font used to print Instruments in the following example ? I would like something like \bfb\ss. \textrule[top]{Instruments} Some

[NTG-context] 2 sets of footnotes?

2010-08-05 Thread Martin Althoff
occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. \placelist[AuthorComment] \textrule[top]{Old page break} \noindent \inmargin[+][S4]{S. 4} Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore

[NTG-context] Blank lines and \noindent

2010-08-05 Thread Martin Althoff
. Is this placement dependency intended? I thought I could use blank lines at liberty to style the sources. Secondly, is there any way of integrating the \noindent into the \textrule. Means: the paragraph following a textrule should not be indented. Not crucial, but would reduce the clutter in the sources

Re: [NTG-context] Blank lines and \noindent

2010-08-05 Thread Wolfgang Schuster
should also use ConTeXt’s own commands \indentation and \noindentation. Secondly, is there any way of integrating the \noindent into the \textrule. Means: the paragraph following a textrule should not be indented. Not crucial, but would reduce the clutter in the sources. There are about 600 textrules

Re: [NTG-context] \textrules in header

2009-05-18 Thread Robert-André Mauchin
Hans Hagen wrote (2001-10-18 (13:09)): At 09:40 AM 10/18/2001 +, Peter Jander wrote: Hi, I want a line to separate the header from the text body. Now if I say \setupheader[after=\textrule] the line starts in the margin. The length is the width of the text (which

[NTG-context] \setupspacing[...] and the last line of a paragraph

2008-10-10 Thread Bernd Kosubek
,strict] \setupspacing[packed] \definestartstop[Ausgabe][% before={% \setuptextrules[location=left]% \textrule[top]{Ausgabe}% },% after={\textrule},% commands={\indenting[no]}% ] \starttext \startAusgabe Kurze Sätze. Das A und O der Tagespresse!\space{} Dem Leser nur nichts zumuten. Es

Re: [NTG-context] \setupspacing[...] and the last line of a paragraph

2008-10-10 Thread Wolfgang Schuster
] \setupbodyfont[10pt] \setupindenting[none] \setupwhitespace[small] \setuptolerance[horizontal,strict] \setupspacing[packed] \definestartstop[Ausgabe][% before={% \setuptextrules[location=left]% \textrule[top]{Ausgabe}% },% after={\textrule},% commands={\indenting[no]}% ] \starttext

[NTG-context] Footer issue

2008-06-05 Thread Diego Depaoli
Hi all, why \setupheader[text][after=\thinrule] and \setupfooter[text][before=\textrule] both work, but \setupfooter[text][before=\thinrule] doesn't work? Cheers -- Diego Depaoli ___ If your question is of interest

Re: [NTG-context] Footer issue

2008-06-05 Thread Hans Hagen
Diego Depaoli wrote: Hi all, why \setupheader[text][after=\thinrule] and \setupfooter[text][before=\textrule] both work, but \setupfooter[text][before=\thinrule] doesn't work? maybe add a \endgraf after the \thinrule

Re: [NTG-context] Footer issue

2008-06-05 Thread Diego Depaoli
2008/6/5 Hans Hagen [EMAIL PROTECTED]: Diego Depaoli wrote: Hi all, why \setupheader[text][after=\thinrule] and \setupfooter[text][before=\textrule] both work, but \setupfooter[text][before=\thinrule] doesn't work? maybe add a \endgraf after the \thinrule Thanks -- Diego Depaoli

Re: [NTG-context] Footer issue

2008-06-05 Thread Hans Hagen
Diego Depaoli wrote: Hi all, why \setupheader[text][after=\thinrule] and \setupfooter[text][before=\textrule] both work, but \setupfooter[text][before=\thinrule] doesn't work? has to do with a new paragraph being started or a previous one being ended

Re: [NTG-context] a sort of marking

2008-04-09 Thread Andrea Valle
=on, bottomframe=on]},after= {\stopframedtext\blank[.25\textheight]}, ] \setuphead[section][style=\ss\tfb, before={\startframedtext[frame=off] \color[cirmaGrey]}, after={\color[cirmaBlue]\textrule\color[fontColor] \stopframedtext}] \setuphead[subsection][style=\ss\tfb,before={\startframedtext [frame

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
} \tab{text} text # \tbox \tex{text} \textreference[reference]{text} \textrule[top|bottom]{text} \textvariable[name] \thinrule \thinrules[settings] # \tightlayer \title[references]{text} # \to \tooltip[left|right|middle]{text}{text} \translate[name=text] \typ{text} \type{text} \typebuffer[name

[NTG-context] white around descriptions

2007-06-30 Thread Hans van der Meer
}}% %... % placing the annotation indicator in the annotationblock description \def\placeannotationstart{% no white above and below rule \vboxinsideframedtext{% \setuptextrules[style=\@@exmintrostyle]% \textrule{\WWord{\Note Hans van der Meer

Re: [NTG-context] ConTeXt Marcro Quesiton

2007-02-07 Thread Wolfgang Schuster
) in cont-sys.tex Did you mean syst-gen.tex? I tied dodoublegroupempty but it did not work in one case (see previous post) and I can not figure out why. Aditya Hi Aditya, I tried something similiar and copied a example from core-rul.tex The following macro use a method copied from textrule

Re: [NTG-context] ConTeXt Marcro Quesiton

2007-02-07 Thread Hans Hagen
core-rul.tex The following macro use a method copied from textrule and the second argument between the braces should be optional. I looked into the log file created with tracingmacros and it seems TeX cannot find the optional argument. \long\def\startDEBITS#1\stopDEBITS {\bgroup \def

Re: [NTG-context] textrules

2006-10-21 Thread Thomas A. Schmitz
On Oct 20, 2006, at 1:32 AM, Aditya Mahajan wrote: \textrule[top] does before --- (rule) inbetween \textrule[bottom] does inbetween -- after \textrule with no argumet is equal to \textrule[bottom] There is a \domiddletextrule that does inbetween

Re: [NTG-context] textrules

2006-10-20 Thread Hans Hagen
is before? :-) \textrule[top] does before --- (rule) inbetween \textrule[bottom] does inbetween -- after \textrule with no argumet is equal to \textrule[bottom] There is a \domiddletextrule that does inbetween inbetween but this is not interfaced

[NTG-context] textrules

2006-10-19 Thread Thomas A. Schmitz
should use a different approach than textrule?). Thanks Thomas ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] textrules

2006-10-19 Thread Peter Rolf
somebody explain what their expected behavior is (and if I should use a different approach than textrule?). add \showskips to your source (better a small one). I just tested a bit (between my current mp examples) and 'inbetween={\blank[2*big]}' and 'after={\blank[2*big]}' should do the job. If you

Re: [NTG-context] textrules

2006-10-19 Thread Aditya Mahajan
the job. If you dare, ask Hans about the meaning of 'before' ;) Greetings, Peter Thanks Peter, that was very helpful. I still had to tweak a bit, but by combining inbetween and after, I got an acceptable result. So the mystery thickens: what is before? :-) \textrule[top] does before

Re: [NTG-context] grid and \textrule

2006-08-01 Thread Taco Hoekwater
[EMAIL PROTECTED] wrote: Hallo! I use \setuplayout[grid=yes] and a chapterdefinition which looks like: Author - Title You can wrap that whole stuff inside \startlinecorrection

Re: [NTG-context] ntg-context grid and \textrule

2006-08-01 Thread wwl
You can wrap that whole stuff inside \startlinecorrection ... \stoplinecorrection The stuff inside that environment will not be grid-aligned, but the final resulting box will be. Thank you, that works. Wolfgang ___ ntg-context

[NTG-context] grid and \textrule

2006-07-31 Thread wwl
Hallo! I use \setuplayout[grid=yes] and a chapterdefinition which looks like: Author - Title Text text text ... The hor. Line above is a \textrule and the vert. spacing between author and line

[NTG-context] Uppercase headings

2006-03-31 Thread Ville Voipio
]}, after={\textrule\blank}, align=middle, style=\tfb, textcommand=\WORD ] This worked fine in the past. Not anymore: 8--- ! You can't use `\relax' after \the. recently read [EMAIL PROTECTED]@\@@pnstate \pushmacro ...ame [EMAIL PROTECTED]@ \@@pushedmacro \endcsname \@@pushedmacro \endcsname #1

Re: [NTG-context] Uppercase headings

2006-03-31 Thread Hans Hagen
]}, after={\textrule\blank}, align=middle, style=\tfb, textcommand=\WORD ] This worked fine in the past. Not anymore: 8--- ! You can't use `\relax' after \the. recently read [EMAIL PROTECTED]@\@@pnstate \pushmacro ...ame [EMAIL PROTECTED

Re: [NTG-context] Uppercase headings

2006-03-31 Thread Hans Hagen
]}, after={\textrule\blank}, align=middle, style=\tfb, textcommand=\WORD ] it's nearly impossible to get this working for all features (keep in mind that tex has no real feature to map font chars to other font chars) esp those with special chars. the best solution is to use a caps font

Re: [NTG-context] Uppercase headings

2006-03-31 Thread Taco Hoekwater
]}, after={\textrule\blank}, align=middle, style=\tfb, textcommand=\WORD ] This worked fine in the past. Not anymore: Something like this is why there is a new syntax: \setuphead[title] [deeptextcommand=\WORD] Does that work? Taco

Re: [NTG-context] How to do this in ConTeXt

2006-01-04 Thread Fabrice Larribe
=serried,headstyle=bold,width=broad, text={\framed[background=color,backgroundcolor=black]{\red\sc Exemple}\textrule},margin=0.5cm,before=\blank,after=\blank] \startExemple This is a nice exemple. \stopExemple This is the end. \stoptext F. ___ ntg

Re: [NTG-context] How to do this in ConTeXt

2006-01-04 Thread Hans Hagen
... \defineenumeration[Exemple][location=serried,headstyle=bold,width=broad, text={\framed[background=color,backgroundcolor=black]{\red\sc Exemple}\textrule},margin=0.5cm,before=\blank,after=\blank] \startExemple This is a nice exemple. \stopExemple This is the end. \stoptext F. one of you has to wikify

Re: [NTG-context] interline space in setupparagraphs

2005-11-01 Thread Vit Zyka
Peter Rolf wrote: Gerben Wierda wrote: On 27 Oct 2005, at 18:59, Peter Rolf wrote: Hi Gerben, Gerben Wierda wrote: I have: \setupinterlinespace[medium] \setupinterlinespace[line=\dimexpr1.25\bodyfontsize\relax] That works. But why? And does this relate to the fact that textrule

RE: [NTG-context] How can I minimize the vertical space taken bya \textrule

2005-10-31 Thread Nicolas Grilly
2005 00:06 À : mailing list for ConTeXt users Objet : Re: [NTG-context] How can I minimize the vertical space taken bya \textrule On Oct 27, 2005, at 21:00, Peter Rolf wrote: I already had \setuptextrules [before=,after=,inbetween=] but that does not work. It seems that inside my

Re: [NTG-context] How can I minimize the vertical space taken by a \textrule

2005-10-31 Thread Hans Hagen
Gerben Wierda wrote: Someone should fund Hans for writing true documentation. there will be a book by adam and steve Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] How can I minimize the vertical space taken bya \textrule

2005-10-31 Thread Hans Hagen
Nicolas Grilly wrote: I agree with the idea that documentation of ConTeXt's commands and parameters is rather incomplete. I'm wondering if it's possible to have a documentation system like Java's Javadoc. We can put comments just before commands definitions and use a little preprocessor

Re: [NTG-context] How can I minimize the vertical space taken bya \textrule

2005-10-31 Thread Hans Hagen
Nicolas Grilly wrote: Hello, I agree with the idea that documentation of ConTeXt's commands and parameters is rather incomplete. I'm wondering if it's possible to have a documentation system like Java's Javadoc. We can put comments just before commands definitions and use a little

Re: [NTG-context] How can I minimize the vertical space taken by a \textrule

2005-10-27 Thread Peter Rolf
Gerben Wierda wrote: I have a after={\textrule} in my \setupparagraphs but it takes too much space for my purpose. What can I do about that? \setuptextrules[ before=, after=, % {\blank[small]} ] Peter Thanks, G ___ ntg-context mailing

Re: [NTG-context] How can I minimize the vertical space taken by a \textrule

2005-10-27 Thread Gerben Wierda
On 27 Oct 2005, at 16:02, Peter Rolf wrote: Gerben Wierda wrote: I have a after={\textrule} in my \setupparagraphs but it takes too much space for my purpose. What can I do about that? \setuptextrules[ before=, after=, % {\blank[small]} ] I already had \setuptextrules

Re: [NTG-context] interline space in setupparagraphs

2005-10-27 Thread Gerben Wierda
On 27 Oct 2005, at 18:59, Peter Rolf wrote: Hi Gerben, Gerben Wierda wrote: I have: \setupinterlinespace[medium] \setupinterlinespace[line=\dimexpr1.25\bodyfontsize\relax] That works. But why? And does this relate to the fact that textrule spacing as done normally is not used inside

Re: [NTG-context] How can I minimize the vertical space taken by a \textrule

2005-10-27 Thread Peter Rolf
Gerben Wierda wrote: On 27 Oct 2005, at 16:02, Peter Rolf wrote: Gerben Wierda wrote: I have a after={\textrule} in my \setupparagraphs but it takes too much space for my purpose. What can I do about that? \setuptextrules[ before=, after=, % {\blank[small]} ] I already had

  1   2   >